'Declaration Public Overloads Function GlyphsAndCharsToStream( _ ByVal stream As System.IO.Stream, _ ByVal font As Font, _ ByVal glyphIDs As System.Collections.Generic.HashSet(Of UShort), _ ByVal utf32Chars As System.Collections.Generic.HashSet(Of Integer), _ Optional ByVal subsetFlags As FontSubsetFlags _ ) As System.Integer
public System.int GlyphsAndCharsToStream( System.IO.Stream stream, Font font, System.Collections.Generic.HashSet<ushort> glyphIDs, System.Collections.Generic.HashSet<int> utf32Chars, FontSubsetFlags subsetFlags )
Parameters
- stream
- The destination Stream object.
- font
- The Font object to serialize.
- glyphIDs
- Glyph indices to be added to the resulting font subset.
- utf32Chars
- UTF-32 characters to be supported in the resulting font subset.
- subsetFlags
- Font serialization options.
Return Value
The number of bytes saved to the stream.